package com.xiong.miaosha.service;

import com.xiong.miaosha.dao.UserDao;
import com.xiong.miaosha.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wardseptember
 * @create 2020-03-07 21:47
 */
@Service
public class UserService {
    @Autowired
    UserDao userDao;

    public User getById(int id) {
        return userDao.getById(id);
    }

}
